package com.hznu.jspFinal.dao;

import com.hznu.jspFinal.entity.CourseTeacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseTeacherMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CourseTeacher record);

    int insertSelective(CourseTeacher record);

    CourseTeacher selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CourseTeacher record);

    int updateByPrimaryKey(CourseTeacher record);

    List<CourseTeacher> selectByTeacherid(Integer id);

    List<CourseTeacher> selectByCourseIdAndTeachId(@Param("courseid") Integer courseid,@Param("teacherid") Integer teacherid);
}